
import { createSSRApp } from 'vue'
import App from './App.vue'
import {HFdebugging} from "./HF-HF_debugging/common/next.js"
export function createApp() {
  const app = createSSRApp(App)
  // new HFdebugging({app});
  
  let HF = new HFdebugging({app});
  // let Console = HF.getPlugIn('Console');
  
  // app.config.globalProperties.$logggg = Console.addRecord
  
  app.config.errorHandler = function(err) {
    console.log('global err', err);
  }
  
  return {
    app
  }
}